home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.5 KB | 42 lines | [TEXT/GEOL] |
- Item 1671414 4-Sept-90 17:57PDT
-
- From: ABI.FC Applied BioSystems, Foster City,VAR
-
- To: MACAPP.TEST MacApp SQA Team
- MACDTS Macintosh Developer Tech Supt
- MACAPP.TECH$ MacApp Technical
-
- Sub: Discrepancy in MacApp patch 2
-
- The version P2 patches to MacApp 2.0 differ from the text of Technote 280a in
- regards to Bug #7 of Global Routines and Interfaces: VisibleRect. What's
- worse, I think the patches are wrong, and the text is correct. The text says:
-
- ----
- Fix: The final fix has not yet been determined. However, you may be able to
- kludge things by modifying TWindow.Update in the file UMacApp.TWindow.p. Right
- before _BeginUpdate, add the follwing line:
-
- gUpdating := TRUE;
-
- Next, add the following line right after both calls to _EndUpdate:
-
- gUpdating := FALSE;
- ----
-
- This sounds good to me. Unfortunately, the patches put the gUpdating
- assignment before and after the InvalidateFocus calls which immediately precede
- and follow _BeginUpdate and _EndUpdate. This means that calls to VisibleRect
- from within InvalidateFocus will not be constrained by the port's visRgn.
- While this whole thing is somewhat of a kludge, I think that what the patch
- does is worse that what the text says, so I suggest that Apple fix the patch.
- Otherwise, Apple should at least fix the Technote.
-
-
- Thanks,
- Jeremy Grodberg
- Applied Biosystems
- AppleLink: ABI.FC (Please put 'JDG' somewhere on the subject line)
-
-
-